package at.htlkaindorf.sportartikel.domain;

import java.util.List;

/**
 *
 * @author Thomas
 */
public class ShoppingCartPriceCalculation {

    private List<ProductPriceCalculation> productList;

    private float totalGrossPrice;
    private float totalNetPrice;
    /**
     * "Value added tax" (German: MwSt).
     * value from 0 to 1
     */
    private float vat;

    public ShoppingCartPriceCalculation(List<ProductPriceCalculation> productList, float totalGrossPrice, float totalNetPrice, float vat) {
        this.productList = productList;
        this.totalGrossPrice = totalGrossPrice;
        this.totalNetPrice = totalNetPrice;
        this.vat = vat;
    }

    public List<ProductPriceCalculation> getProductList() {
        return productList;
    }

    public void setProductList(List<ProductPriceCalculation> productList) {
        this.productList = productList;
    }

    public float getTotalGrossPrice() {
        return totalGrossPrice;
    }

    public float getTotalNetPrice() {
        return totalNetPrice;
    }

    public void setTotalNetPrice(float totalNetPrice) {
        this.totalNetPrice = totalNetPrice;
    }

    public void setTotalGrossPrice(float totalGrossPrice) {
        this.totalGrossPrice = totalGrossPrice;
    }

    public float getVat() {
        return vat;
    }

    public void setVat(float vat) {
        this.vat = vat;
    }

}
